package com.birdboot.controller;

import com.birdboot.annotations.Controller;
import com.birdboot.annotations.RequestMapping;
import com.birdboot.http.HttpServletRequest;
import com.birdboot.http.HttpServletResponse;
import java.io.File;

@Controller
public class UserController {
    private static File userDir;

    @RequestMapping("/regUser")
    public void reg(HttpServletRequest request,HttpServletResponse response){
        System.out.println("/regUser");
    }

    @RequestMapping("/loginUser")
    public void login(HttpServletRequest request,HttpServletResponse response){
        //request.getpa
        System.out.println("/loginUser" + request.getParam("userName"));

    }
}
